package com.zkx.laolaiyi.service;

import com.zkx.laolaiyi.dto.UserDTO;
import com.zkx.laolaiyi.entity.LoginUser;
import com.zkx.laolaiyi.entity.User;
import com.zkx.laolaiyi.result.Result;
import org.springframework.stereotype.Service;

public interface LoginService {
    Result<LoginUser> login(UserDTO userDTO);
    Result<String> logout();
}
